from ..ronglian_sms_sdk import SmsSDK

accId = '8a216da87ba59937017c2519099c20f6'
accToken = '319d40cbd5a242b2bbab2262fdb05337'
appId = '8a216da87ba59937017c25190afa20fd'

def send_message(sms_code):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = '13244107828'
    datas = (f'{sms_code}', '1')
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)
